<form id="shiro_resource_form_form" method="post" style="margin: 5px;">
    <input name="data.id" value="${data.id!}" style="display:none;"/><br/>
    <input name="data.name" value="${data.name!}" class="easyui-textbox"
           data-options="prompt:'资源名称',label:'资源名称',labelWidth:100,labelAlign:'right',width:'100%',required:true"/>
    <input name="data.url" value="${data.url!}" class="easyui-textbox"
           data-options="prompt:'访问地址',label:'访问地址',labelWidth:100,labelAlign:'right',width:'100%'"/>
    <input name="data.permission" value="${data.permission!}" class="easyui-textbox"
           data-options="prompt:'许可编码',label:'许可编码',labelWidth:100,labelAlign:'right',width:'100%'"/>
    <select id="shiro_resource_form_menuType" name="data.type" class="easyui-combobox"
            data-options="prompt:'类型',label:'类型',labelWidth:100,labelAlign:'right',width:'100%',editable:false,required:true,value:'${data.type!1}'">
        <option value="0">菜单</option>
        <option value="1">按钮</option>
    </select>
    <input name="data.sort" value="${data.sort!0}" class="easyui-numberspinner"
           data-options="prompt:'排序',label:'排序',labelWidth:100,labelAlign:'right',width:'100%',min:0,required:true"/>
    <select id="shiro_resource_form_pidTree" name="data.pid" class="easyui-combotree"
            data-options="prompt:'父节点',label:'父节点',labelWidth:100,labelAlign:'right',width:'91%',
                        url:'${ctxPath}/shiro/resource/menu',parentField:'pid',value:'${data.pid!}',editable:true">
    </select>
    <a href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'icon-clear'" onclick="$('#shiro_resource_form_pidTree').combotree('clear');"></a>
</form>